﻿package com.TCPServer
{
	import flash.events.Event;
	
		public class TCPServerSocketEvent extends Event
		{
			
		public static const ONCONNECT:String = "ONCONNECT";
		public static const ONDATA:String = "ONDATA";
		public static const ONERROR:String = "ONERROR";
		public static const S_OK:int = 0;
		public static const S_ERROR:int = 1;
		
		public var data:*;
		
		public function TCPServerSocketEvent(type:String, data:*)
		{
			this.data = data;
			super(type);
		}
	}
}